import static org.junit.Assert.*;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;


public class VendingMachineItemTest {

	private static final String SODA_PRICE = null;
	private static final String CANDY_BAR_PRICE = null;
	private static final String candyBarVendor = null;
	@Before
	public void setUp() throws Exception {
	}

	@After
	public void tearDown() throws Exception {
	}

	@Test
	public void testVendingMachineItem() {
		public void testConstructor()
		{
		    Object candyBarVendor;
			// Existence test
		    assertNotNull("Candy bar vendor exists", 
		        candyBarVendor);
		    Object sodaVendor;
			assertNotNull("Soda vendor exists", 
		        sodaVendor);
		    // Type test
		    assertTrue("Candy bar vandor is a vending machine", 
		        candyBarVendor instanceof VendingMachine);
		    assertTrue("Soda vandor is a vending machine", 
		        sodaVendor instanceof VendingMachine);
		}
		

	@Test
	public void testGetName() {
		fail("Not yet implemented");
	}

	@Test
	
	// it allow you to test item price//
	public void testGetPrice() {
		public void testGetItemPrice()
		{
		    Object sodaVendor;
			assertEquals("Soda costs " + SODA_PRICE, 
		        SODA_PRICE, 
		        ((Object) sodaVendor).getItemPrice());
		    assertEquals("Candy bar costs " + CANDY_BAR_PRICE, 
		        CANDY_BAR_PRICE, 
		        candyBarVendor.getItemPrice());
		}
